package com.tn.basic.controller;

import com.databstech.apis.result.response.ResultVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author tn
 * @version 1
 * @ClassName OpenFeignTestController
 * @description rpc 测试
 * @date 2020/8/6 19:25
 */
@RestController
@RequestMapping("openFeign")
@Api(tags = "basic - rpc 测试")
public class OpenFeignTestController {

    @GetMapping(value = "test01")
    @ApiOperation(value = "basic - rpc 测试 - test01")
    public ResultVO<String> test01() {
        return ResultVO.success("我是server-basic服务的数据");
    }
}
